# Form implementation generated from reading ui file 'src/eric7/WebBrowser/Network/ProtocolHandlerManagerDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_ProtocolHandlerManagerDialog(object):
    def setupUi(self, ProtocolHandlerManagerDialog):
        ProtocolHandlerManagerDialog.setObjectName("ProtocolHandlerManagerDialog")
        ProtocolHandlerManagerDialog.resize(500, 400)
        ProtocolHandlerManagerDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(ProtocolHandlerManagerDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.protocolHandlersList = QtWidgets.QTreeWidget(parent=ProtocolHandlerManagerDialog)
        self.protocolHandlersList.setAlternatingRowColors(True)
        self.protocolHandlersList.setRootIsDecorated(False)
        self.protocolHandlersList.setObjectName("protocolHandlersList")
        self.gridLayout.addWidget(self.protocolHandlersList, 0, 0, 1, 1)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.deleteButton = QtWidgets.QPushButton(parent=ProtocolHandlerManagerDialog)
        self.deleteButton.setObjectName("deleteButton")
        self.verticalLayout.addWidget(self.deleteButton)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=ProtocolHandlerManagerDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2)

        self.retranslateUi(ProtocolHandlerManagerDialog)
        self.buttonBox.accepted.connect(ProtocolHandlerManagerDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(ProtocolHandlerManagerDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ProtocolHandlerManagerDialog)

    def retranslateUi(self, ProtocolHandlerManagerDialog):
        _translate = QtCore.QCoreApplication.translate
        ProtocolHandlerManagerDialog.setWindowTitle(_translate("ProtocolHandlerManagerDialog", "Protocol Handlers"))
        self.protocolHandlersList.setToolTip(_translate("ProtocolHandlerManagerDialog", "Shows a list of registered protocol handlers"))
        self.protocolHandlersList.headerItem().setText(0, _translate("ProtocolHandlerManagerDialog", "Scheme"))
        self.protocolHandlersList.headerItem().setText(1, _translate("ProtocolHandlerManagerDialog", "URL"))
        self.deleteButton.setToolTip(_translate("ProtocolHandlerManagerDialog", "Press to delete the protocol handler"))
        self.deleteButton.setText(_translate("ProtocolHandlerManagerDialog", "Delete"))
